<?php

namespace app\validate;

use think\Validate;

class OrderCertReverseCase extends Validate
{
    protected $rule = [
        'aliasId|别名' => 'require',
        'page|页码' => 'require|number',
        'pageNum|每页条数' => 'require|number',
        'certificate_code|订单编号' => 'requireWith:certificate_code',
        'create_start_date|开始创建时间' => 'requireWith:create_start_date',
        'create_end_date|结束创建时间' => 'requireWith:create_end_date',
        'status|订单状态' => 'requireWith:status',
        'employ_unit_title|聘用单位' => 'requireWith:employ_unit_title',
        'employ_unit_name|聘用单位联系人' => 'requireWith:employ_unit_name',
        'employ_unit_mobile|聘用单位联系方式' => 'requireWith:employ_unit_mobile',
        'unit_reg_title|注册单位' => 'requireWith:unit_reg_title',
        'out_org|出证部门' => 'requireWith:out_org',
        'out_uid|出证人' => 'requireWith:out_uid',
        'out_start_price|出证价开始' => 'requireWith:out_start_price',
        'out_end_price|出证价结束' => 'requireWith:out_end_price',
        'out_unit|出证单位' => 'requireWith:out_unit',
        'out_name|联系人' => 'requireWith:out_name',
        'out_mobile|联系电话' => 'requireWith:out_mobile',
        'certificate_leibie|证书类别' => 'requireWith:certificate_leibie',
        'certificate_leixing|证书类型' => 'requireWith:certificate_leixing',
        'certificate_dengji|证书等级' => 'requireWith:certificate_dengji',
        'certificate_zhuanye|证书专业' => 'requireWith:certificate_zhuanye',
        'certificate_b|b证' => 'requireWith:certificate_b',
        'social_security|社保' => 'requireWith:social_security',
        'cycle|周期' => 'requireWith:cycle',
        'project|项目' => 'requireWith:project',
        'transfer|是否中转' => 'requireWith:transfer',
        'get_org|收证部门' => 'requireWith:get_org',
        'get_uid|收证人' => 'requireWith:get_uid',
        'get_start_price|收证价开始' => 'requireWith:get_start_price',
        'get_end_price|收证价结束' => 'requireWith:get_end_price',
        'person_name|人才姓名' => 'requireWith:person_name',
        'id_card|人才身份证号' => 'requireWith:id_card',
        'electronic_certificate_start_date|证书有效期开始' => 'requireWith:electronic_certificate_start_date',
        'electronic_certificate_end_date|证书有效期结束' => 'requireWith:electronic_certificate_end_date',
        'b_electronic_certificate_start_date|b证有效期开始' => 'requireWith:b_electronic_certificate_start_date',
        'b_electronic_certificate_end_date|b证有效期结束' => 'requireWith:b_electronic_certificate_end_date',
        'b_reg_electronic_certificate_start_date|注册到期时间开始' => 'requireWith:b_reg_electronic_certificate_start_date',
        'b_reg_electronic_certificate_end_date|注册到期时间结束' => 'requireWith:b_reg_electronic_certificate_end_date',
        'c_status|状态' => 'requireWith:c_status',
    ];
}